linear approximation of functions of several values